package com.lft.examsys.entity;

import lombok.Data;

import java.awt.image.BufferedImage;

/**
 * @author ：Qingchen
 * @date ：Created in 2022/3/24 19:26
 * @description：
 * @modified By：
 * @version: $
 */
@Data
public class Kaptcha {

    private String code;

    private BufferedImage image;

    public Kaptcha(StringBuffer randomCode, BufferedImage img) {
        this.code = randomCode.toString();
        this.image = img;
    }
}
